Xbasic

UI_BROWSE_FOR_COMPUTER Function

Syntax

Computer_Name as C = UI_BROWSE_FOR_COMPUTER([C DisplayText [, L ShowEditBox]])

Arguments

Computer_Name

The name of the selected computer.

DisplayText

Optional. Default = "". The prompt that appears below the window title. Character

ShowEditBox

Logical

Description

The UI_BROWSE_FOR_COMPUTER() function allows you to browse for and select the name of a computer on your network using the standard Windows dialog. The function enables the OK button only if you select a valid computer name.

Example

? ui_browse_for_computer("Select a Computer and Click OK")
= "OurServer"

Limitations

Desktop applications only.

See Also